<?php
namespace app\model;
use app\BaseModel;

use app\Request;
use think\model\concern\SoftDelete;


class GoodsType extends BaseModel
{

    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = '0000-00-00 00:00:00';
    protected $hidden = ['update_time','delete_time','sort','status'];



    public static function  search($extend=[])
    {
        $where = [];
        if(!empty(request()->title)) $where[] = ['title','=',134];
        if(!empty($extend)) $where =  array_merge_recursive($where,$extend);

        return $where;
    }







}